﻿CREATE TABLE [dbo].[QuotationTables]
(
	[Day] date NOT NULL , 
	IdStock smallint NOT NULL CONSTRAINT ForeignIdQuotation FOREIGN KEY REFERENCES Stocks (Id),
	TableName nvarchar(22) NOT NULL UNIQUE
	CONSTRAINT [QuotationTablesKey] PRIMARY KEY ([Day],IdStock)
)
